package net.knightwatch.kwtools.walkthrough.items;

import android.content.Context;
import android.widget.LinearLayout;

public abstract class Answer {
	// Answertypes describe what is expected for the question and answer, how to get it, how to display it
	public static final int PHOTO_TYPE = 1;
	public static final int TEXT_TYPE = 2;
	public static final int BOOLEAN_TYPE = 3;
	public static final int SPINNER_TYPE = 4;
	public static final int AUTOCOMPLETE_TYPE = 5;
	public static final int RADIOBUTTON_TYPE = 6;
	private int AnswerTypeId;
	private long AnswerId;
	
	public int getAnswerTypeId() {
		return AnswerTypeId;
	}
	public void setAnswerTypeId(int answerTypeId){
		this.AnswerTypeId = answerTypeId;
	}
	public long getAnswerId() {
		return AnswerId;
	}
	public void setAnswerId(long answerId) {
		AnswerId = answerId;
	}
	abstract public LinearLayout getAnswerLayout(Context context);
	abstract public String toString();
	abstract public void updateAnswerView();
	abstract public void setAnswerText(String answerText);
	
	
}
